package com.cn.api;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.cn.utils.FormSubmitResult;

/**
 * API测试接口
 *
 */
@RestController
@RequestMapping("/api")
@Api("测试接口")
public class ApiTestController {


    /**
     * 忽略Token验证测试
     */
    @GetMapping("notToken")
    @ApiOperation(value = "忽略Token验证测试")
    public FormSubmitResult notToken(){
        return FormSubmitResult.SUCCESS().put("msg", "无需token也能访问。。。");
    }
}
